// by Xeno
#define THIS_FILE "fn_detachchemlight.sqf"
#include <core_macros.h>


private "_clattachedobj";
_clattachedobj = player getVariable [QGVAR(p_clattachedobj), objNull];
if (!isNull _clattachedobj) then {
	deleteVehicle _clattachedobj;
};
player setVariable [QGVAR(p_clattachedobj), nil];
player setVariable [QGVAR(p_clattached), nil];
GVAR(commandingMenuIniting) = false;
